home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / GraphicViewers / pCD / Source / hpcdtoppm.0.4 / Makefile < prev    next >
Makefile  |  1993-03-27  |  508b  |  27 lines

  1. #
  2. #
  3. # Use the hpcdtoppm procedures for writing ppm and pgm
  4. VFLAGS= -DOWN_WRITE
  5. VLIBS=
  6. # Use the pbmplus procedures for writing ppm and pgm
  7. #VFLAGS=
  8. #VLIBS= libpbm.a libpgm.a libppm.a
  9. #
  10. #
  11. CC=    cc
  12. CFLAGS=    -g -ansi -Wall ${VFLAGS}
  13. INCL=    hpcdtoppm.h config.h
  14. OBJ=    main.o output.o color.o format.o tools.o error.o \
  15.     ppm.o postscr.o const.o
  16. COMPILE=${CC} ${CFLAGS} -c
  17. #
  18. hpcdtoppm: ${OBJ}
  19.     ${CC} -o hpcdtoppm ${OBJ} ${VLIBS}
  20. #
  21. ${OBJ}: ${$@:.o=.c} ${INCL}
  22.     ${COMPILE} ${*}.c
  23. #
  24. clean:
  25.     rm -f *~ *.o
  26.     -strip hpcdtoppm
  27.